package com.saicmotor.hk2.service;

import com.saicmotor.hk2.model.Role;
import com.saicmotor.hk2.model.User;

import java.util.List;

public interface RoleService {
    List<Role> getAll();

    void insertRoleInfo(String name);

    void deleteByName(String name);

    void updateName(String newName,String oldName);

    void createRoleTable(String tableName);
}
